# 数字运算符
print("1 + 1 =", 1 + 1)
print("2 - 1 =", 2 - 1)
print("2 * 2 =", 2 * 2)
print("4 / 2 =", 4 / 2)
print("5 // 2 =", 5 // 2)
print("5 % 2 =", 5 % 2)
print("5 ** 2 =", 5 ** 2)

# 赋值运算符
# 将右边的值赋给左边
num = 2 * 2 - 1
print(num)

# 符合赋值运算符
num = 1
num += 1
print("num += 5:",num)
num -= 1
print("num -= 2:",num)
num *= 2
print("num *= 2:",num)
num /= 2
print("num /= 2:",num)
num %= 3
print("num %= 3:",num)
num **= 3
print("num **=3:",num)
num //= 3
print("num //=2:",num)